package com.travel.entity;
/**
* @Title HotelFavorite.java
* @Package com.travel.entity
* @Author zengbochao
* @Time 2020年10月29日 上午8:58:22
* @Version 1.0
* @Description: TODO
*/
public class HotelFavorite {
	private Integer favoriteId;
	private Integer userId;
	private Integer hotelId;
	@Override
	public String toString() {
		return "HotelFavorite [favoriteId=" + favoriteId + ", userId=" + userId + ", hotelId=" + hotelId + ", user="
				+ user + ", hotel=" + hotel + "]";
	}
	public HotelFavorite(Integer favoriteId, Integer userId, Integer hotelId, User user, Hotel hotel) {
		super();
		this.favoriteId = favoriteId;
		this.userId = userId;
		this.hotelId = hotelId;
		this.user = user;
		this.hotel = hotel;
	}
	public HotelFavorite() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Integer getFavoriteId() {
		return favoriteId;
	}
	public void setFavoriteId(Integer favoriteId) {
		this.favoriteId = favoriteId;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getHotelId() {
		return hotelId;
	}
	public void setHotelId(Integer hotelId) {
		this.hotelId = hotelId;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Hotel getHotel() {
		return hotel;
	}
	public void setHotel(Hotel hotel) {
		this.hotel = hotel;
	}
	private User user;
	private Hotel hotel;

}
